package cn.yzfy.common.model.vo;

import cn.yzfy.common.base.vo.BaseIdAndTimeAndOperationVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;

/**
 * @author 一朝风月
 * @date 2025/9/11 19:51
 * @Code 面向注解面向卿，终无解释再无你
 * @description 通知告示展示层
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class NoticeVO extends BaseIdAndTimeAndOperationVO {

    @Serial
    private static final long serialVersionUID=-1;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID" )
    private Long userId;

    /**
     * 帖子ID
     */
    @Schema(description = "帖子ID" )
    private Long postId;

    /**
     * 标题
     */
    @Schema(description = "标题" )
    private String title;

    /**
     * 头像URL
     */
    @Schema(description = "头像URL" )
    private String avatarUrl;

    /**
     * 内容
     */
    @Schema(description = "内容" )
    private String content;

    /**
     * 备注
     */
    @Schema(description = "备注" )
    private String remark;

    /**
     * 删除标记
     */
    @Schema(description = "删除标记" )
    private Byte deleted;

}